ComponentOne DataObjects for .NET
GetChanges(String[],DataRowStateEnum) Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataSet Class > GetChanges Method : GetChanges(String[],DataRowStateEnum) Method
Names of the tables whose modified rows are to be included in the resulting data set. If this argument is null, modified rows of all tables are included.
One or more (combination of) flags Added, Modified, Deleted indicating what rows to include.
Gets a copy of the data set containing all changes to simple tables made since it was last filled, or since AcceptChanges was called. Composite tables and table views are empty in the resulting data set.
Syntax
'Declaration
 
Public Overloads Function GetChanges( _
   ByVal tableNames() As System.String, _
   ByVal rowStates As DataRowStateEnum _
) As C1DataSet
public C1DataSet GetChanges( 
   System.string[] tableNames,
   DataRowStateEnum rowStates
)

Parameters

tableNames
Names of the tables whose modified rows are to be included in the resulting data set. If this argument is null, modified rows of all tables are included.
rowStates
One or more (combination of) flags Added, Modified, Deleted indicating what rows to include.
See Also

Reference

C1DataSet Class
C1DataSet Members
Overload List